#include "namedPipe.hpp"

int main()
{
    NamedPipe fifo(comm_path, User);
    if (fifo.OpenForWrite())
    {
        std::cout<<"Client open Named Pipe done!"<<std::endl;
        std::string s;
        while (1)
        {
            std::cout << "[Client]:";
            std::cin >> s;
            fifo.WriteNamedPipe(s);
        }
    }
    return 0;
}